package io.geekidea.springbootplus.system.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.geekidea.springbootplus.framework.core.validator.groups.Update;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@Accessors(chain = true)
@ApiModel(value = "SysAddressQueryVo对象", description = "收货地址查询结果")
public class SysAddressQueryVo implements Serializable {
    private static final long serialVersionUID = 5225402956959148390L;

    @ApiModelProperty("主键")
    private Integer id;

    @ApiModelProperty("收货人姓名")
    private String name;

    @ApiModelProperty("会员编号")
    private Integer memberId;

    @ApiModelProperty("省地址")
    private String province;

    @ApiModelProperty("市地址")
    private String city;

    @ApiModelProperty("区地址")
    private String district;

    @ApiModelProperty("详细地址")
    private String address;

    @ApiModelProperty("邮政编号")
    private Integer zipCode;

    @ApiModelProperty("手机号码")
    private String phone;

    @ApiModelProperty("会员昵称")
    private String nickName;

    @ApiModelProperty("默认地址标记")
    private Integer isDefault;
}
